<template>
  <el-breadcrumb separator-class="el-icon-arrow-right">
    <el-breadcrumb-item v-for="item in navs" :key="item.path" :to="{ path: item.path }">{{
      item.meta.title
    }}</el-breadcrumb-item>
  </el-breadcrumb>
</template>

<script>
export default {
  computed: {
    navs() {
      let routes = this.$route.matched;
      routes[0].path = '/'
      return routes;
    },
  },
  created() {},
};
</script>

<style></style>
